<!DOCTYPE>
<html>
<head>
	<title id="webtitle"></title>
	<meta http-equiv="refresh" content="0;url=user-login.html">
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1, user-scalable=no">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="keywords" content="" />
	<meta name="description" content="" />
    <script type="text/javascript" src="public/maincss.js"></script>
    <script type="text/javascript" src="public/main.js"></script>


</head>
<body >
<style type="text/css">
	.login-third{margin-top: 13px;margin-bottom: 10px;}
</style>
<!--头部开始-->
<div id="header"></div>
<!--头部结束-->
<!--登录开始-->
<div class="clear"></div>
<!-- 内容区 开始 -->
<div id="hl-body">
	<div class="content" id="content" style="width: 100%; min-width: 1200px">
	  	<div class="wide1190" style="position: relative;">
		    <!--登陆表单容器 开始-->
		    <div class="login-box">
		        <div class="text-center hide m-login-logo"></div>
		        <div class="login-title">会员登录</div>
		        <div class="login-from">
				  <div class="cl pt-10">
					<label for="u_name" class="label-username label-icon"></label>
					<input id="u_name" class="fix-autofill-bg form-input" name="loginUserName"  type="text" value="" placeholder="请输入您的会员名" autocomplete="off">
					 <div id="u_name_msg" ></div>
					</div>
				  <div class="pt-10">
					<label class="label-password label-icon" for="u_password"></label>
					<input id="u_password" class="fix-autofill-bg form-input" name="loginPassword" type="password" value="" placeholder="请输入您的密码" autocomplete="off">
					 <div id="u_password_msg" ></div>
					</div>
				  <div class="cl pt-10 verify_show">
					<input name="verifyCode" id="u_code" type="text" maxlength="4" class="form-input caplogin" autocomplete="off">
					<img class="bf-img-code" src="images/loading.gif" onClick="refreshVcode();"  id="imgcode" alt="加载中..." title="点击可更换" >
					<div id="u_code_msg"></div>
				  </div>
				  <div class="cl pt-10">
					<span id="msg" style="padding-top:5px;color:#ff6800"></span>
					<a href="retrievepwd/forgetpwd.html" class="forget-pwd">忘记密码？</a></div>
				  <div class="cl">
					<button class="g-common-btn g-blue-btn" onClick="logMember(this);" type="button">登&nbsp;录</button>
					<input type="hidden" name="back_path2" value="">
					<input type="hidden" name="m" value="">
					<input type="hidden" value="enterzone" name="module">
				  </div>
				  <div class="pt-10">还没有账号？
					<a class="free-reg" href="register/register.html">免费注册</a>
					  <a href="codeLogin.html" class="code-login" style="display: none; color:#ff6800; margin-left: 10px;">验证码登录</a>
				  </div>
				  <div class="login-third" v-show="isShowAuth">
								<!-- <el-image style="width: 63px;height: 24px;" :src="thridParam.qqLogo"></el-image> -->
						<img class="qq-img" style="width: 63px;height: 24px;" :src="thirdParam.qqLogo" @click="qqAuthLogin">
					</div>
		        </div>
	        </div>
	    </div>
	    <!--登陆表单容器 结束  http://www.yirx.net/view/loginAuth.html :src="loginUrl"-->
  	</div>

  	<el-dialog  :visible.sync="outerVisible" class="login-dialog" >
        <iframe :src="loginUrl" width="100%" height="400"  name="diyForm" id="thirdAuth" style="overflow-x: hidden;border-color: #fff;border:none;">
        </iframe>
    </el-dialog>

    <el-dialog title="账号绑定" width="600px"  :visible.sync="bindVisible" style="text-align: left;font-size: 15px;">
        <el-form :model="personForm"  label-width="120px" class="demo-form-inline" > 
            <el-form-item label="是否存在账号：" >
                <el-switch  v-model="isBind" active-text="是">
                </el-switch>
            </el-form-item>
            <el-form-item v-show="!isBind" label="账号类型：" prop="userType">
                <el-radio v-model="personForm.userType" :label="0">个人</el-radio>
                <el-radio v-model="personForm.userType" :label="1">企业</el-radio>
            </el-form-item>
            <el-form-item label="账号：" >
                <el-input class="common-field-long" v-model="personForm.userName"></el-input>
            </el-form-item>
            <el-form-item v-show="!isBind" label="密码：" >
                <el-input class="common-field-long" show-password v-model="personForm.password" ></el-input>
            </el-form-item>
            <el-form-item v-show="!isBind" label="手机号：" >
                <el-input class="common-field-long" v-model="personForm.mobile" ></el-input>
            </el-form-item>
            <el-form-item v-show="!isBind" label="邮箱：" >
                <el-input class="common-field-long" v-model="personForm.email" ></el-input>
            </el-form-item>
        </el-form>
        <div slot="footer" class="dialog-footer">
            <el-button type="primary" @click="bindingAccount">确 定</el-button>
        </div>
    </el-dialog>
</div>

<!--登录结束-->
<!--底部开始-->
<div id="loginfooter"></div>
<!--底部结束-->
<script type="text/javascript" src="js/login.js"></script>
<script type="text/javascript">
$(function(){
	$('.login-from').keydown(function(ev){
	var e=ev||event;
	keycode=e.keycode||e.which;
	if(keycode==13){
		$('.g-blue-btn').trigger("click");
	}
});
});
</script>
</body>
